<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>测试文件的下载上传</title>
    <!-- 新 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="http://localhost:8080/supermarket/css/bootstrap.min.css">
    <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
    <script src="http://localhost:8080/supermarket/js/jquery.min.js"></script>
    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="http://localhost:8080/supermarket/js/bootstrap.min.js"></script>
</head>
<body >
<div style="position: relative;width: 600px;height: 400px;">
<form action="http://localhost:8080/supermarket/UserServlet?action=5" method="post" enctype="multipart/form-data">
    <div class="input-group input-group-lg">
        <span class="input-group-addon" id="sizing-addon1">用户名</span>
        <input type="text" value="${sessionScope.get("sessionname")}" readonly="readonly" class="form-control" placeholder="Username" aria-describedby="sizing-addon1">
    </div>
    <div class="input-group input-group-lg">
        <span class="input-group-addon" >上传图片</span>
        <input type="file" name="url" class="form-control" placeholder="Username" aria-describedby="sizing-addon1">
    </div>
    <div class="btn-group" role="group" aria-label="...">
        <input type="submit" class="form-control" value="提交">
    </div>
    <div class="btn-group" role="group" aria-label="...">
        <a class="btn btn-warning" href="http://localhost:8080/supermarket/index.jsp">返回上一级</a>
    </div>
</form></div>
</body>
</html>
